home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 June
/
PCWorld_2007-06_cd.bin
/
v cisle
/
tclock
/
tclocklight-040702-3.exe
/
source
/
exe
/
main.c
< prev
next >
Wrap
C/C++ Source or Header
|
2003-12-27
|
855b
|
33 lines
/*-------------------------------------------------------------
main.c : entry point of tclock.exe
(C) 1997-2003 Kazuto Sato
Please read readme.txt about the license.
Written by Kazubon, Nanashi-san
---------------------------------------------------------------*/
#include "tclock.h"
/* Globals */
HINSTANCE g_hInst; // instance handle
/*----------------------------------------------------------
TClock doesn't use "WinMain" for compacting the file size
-----------------------------------------------------------*/
#ifdef NODEFAULTLIB
void WINAPI WinMainCRTStartup(void)
{
g_hInst = GetModuleHandle(NULL);
ExitProcess(TClockExeMain());
}
#else
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
g_hInst = hInstance;
return TClockExeMain();
}
#endif